home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / Acere (Card Game) / AcereÄ.sit / Acereƒ / AcereApp.h < prev    next >
Text File  |  1994-08-25  |  900b  |  36 lines

  1. // ===========================================================================
  2. //    AcereApp.h                    ⌐1994 Metrowerks Inc. All rights reserved.
  3. // ===========================================================================
  4.  
  5. #pragma once
  6.  
  7. #define    OurCreator         'Fƒƒl'
  8. #define    GameFileType    'FƒGm'
  9.  
  10. #include <LDocApplication.h>
  11.  
  12. class    CardDeck;
  13. class    CTextDoc;
  14.  
  15. class    AcereApp : public LDocApplication {
  16. public:
  17.  
  18.     CTextDoc            *ourDoc;
  19.     
  20.     CIconHandle            suitPats[4][2];
  21.     
  22.                         AcereApp();
  23.     virtual             ~AcereApp();
  24.     
  25.     virtual Boolean        ObeyCommand(CommandT inCommand, void *ioParam = nil);
  26.     virtual void        FindCommandStatus(CommandT inCommand,
  27.                             Boolean &outEnabled, Boolean &outUsesMark,
  28.                             Char16 &outMark, Str255 outName);
  29.  
  30.     virtual void    OpenDocument(FSSpec *inMacFSSpec);
  31.     virtual LModelObject*    MakeNewDocument();
  32.     virtual void    ChooseDocument();
  33. };
  34.  
  35. extern    AcereApp    *theApp;
  36. extern    CardDeck    *theDeck;